﻿namespace GCC.Container.Abstracts
{
    /// <summary>
    /// 容器的登陆用户信息
    /// </summary>
    public class GCCUserLoginInfos
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public long UID { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public int Type { get; set; }
        /// <summary>
        /// OpenKey
        /// </summary>
        public string OpenKey { get; set; } = "";
        /// <summary>
        /// OpenID
        /// </summary>
        public string OpenID { get; set; } = "";
        /// <summary>
        /// Token
        /// </summary>
        public string Token { get; set; } = "";
        /// <summary>
        /// 刷新密钥
        /// </summary>
        public string RefreshToken { get; set; } = "";
        /// <summary>
        /// 唯一ID
        /// </summary>
        public string UnionID { get; set; } = "";
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Created { get; set; } = DateTime.Now;
        /// <summary>
        /// 创建人ID
        /// </summary>
        public long CreatedBy { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime Modified { get; set; } = DateTime.Now;
        /// <summary>
        /// 修改人
        /// </summary>
        public long ModifiedBy { get; set; }
    }
}
